﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using FrameworkLib.Configuration;
using System.Configuration;

namespace GestionePolveriImporter.Configuration
{
    [Serializable]
    public class MapElement : FLibConfigurationElement
    {
        [ConfigurationProperty("key", IsRequired = true)]
        public string Key
        {
            get { return (string)this["key"]; }
            set { this["key"] = value; }
        }

        [ConfigurationProperty("numberOfColumn", IsRequired = true)]
        public String NumberOfColumn
        {
            get { return this["numberOfColumn"].ToString(); }
            set { this["numberOfColumn"] = value; }
        }

        [ConfigurationProperty("propertyName", IsRequired = true)]
        public String PropertyName
        {
            get { return this["propertyName"].ToString(); }
            set { this["propertyName"] = value; }
        }
    }
}
